package com.ruoyi.electrical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 electrical_equipment
 * 
 * @author ruoyi
 * @date 2022-05-09
 */
public class ElectricalEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备管理单号 */
    private Long electricalEquipmentId;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 养护机构 */
    @Excel(name = "养护机构")
    private String maintenanceOrganization;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date electricalEquipmentDate;

    /** 型号 */
    @Excel(name = "型号")
    private String electricalEquipmentModel;

    /** 使用年限 */
    @Excel(name = "使用年限")
    private Long electricalEquipmentYear;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long electricalEquipmentStyle;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String electricalEquipmentName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String electricalEquipmentPlace;

    /** 设备数量 */
    @Excel(name = "设备数量")
    private Long electricalEquipmentNumber;

    /** 管理员 */
    @Excel(name = "管理员")
    private String administrator;

    public void setElectricalEquipmentId(Long electricalEquipmentId) 
    {
        this.electricalEquipmentId = electricalEquipmentId;
    }

    public Long getElectricalEquipmentId() 
    {
        return electricalEquipmentId;
    }
    public void setTunnelId(Long tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId() 
    {
        return tunnelId;
    }
    public void setMaintenanceOrganization(String maintenanceOrganization) 
    {
        this.maintenanceOrganization = maintenanceOrganization;
    }

    public String getMaintenanceOrganization() 
    {
        return maintenanceOrganization;
    }
    public void setElectricalEquipmentDate(Date electricalEquipmentDate) 
    {
        this.electricalEquipmentDate = electricalEquipmentDate;
    }

    public Date getElectricalEquipmentDate() 
    {
        return electricalEquipmentDate;
    }
    public void setElectricalEquipmentModel(String electricalEquipmentModel) 
    {
        this.electricalEquipmentModel = electricalEquipmentModel;
    }

    public String getElectricalEquipmentModel() 
    {
        return electricalEquipmentModel;
    }
    public void setElectricalEquipmentYear(Long electricalEquipmentYear) 
    {
        this.electricalEquipmentYear = electricalEquipmentYear;
    }

    public Long getElectricalEquipmentYear() 
    {
        return electricalEquipmentYear;
    }
    public void setElectricalEquipmentStyle(Long electricalEquipmentStyle) 
    {
        this.electricalEquipmentStyle = electricalEquipmentStyle;
    }

    public Long getElectricalEquipmentStyle() 
    {
        return electricalEquipmentStyle;
    }
    public void setElectricalEquipmentName(String electricalEquipmentName) 
    {
        this.electricalEquipmentName = electricalEquipmentName;
    }

    public String getElectricalEquipmentName() 
    {
        return electricalEquipmentName;
    }
    public void setElectricalEquipmentPlace(String electricalEquipmentPlace) 
    {
        this.electricalEquipmentPlace = electricalEquipmentPlace;
    }

    public String getElectricalEquipmentPlace() 
    {
        return electricalEquipmentPlace;
    }
    public void setElectricalEquipmentNumber(Long electricalEquipmentNumber) 
    {
        this.electricalEquipmentNumber = electricalEquipmentNumber;
    }

    public Long getElectricalEquipmentNumber() 
    {
        return electricalEquipmentNumber;
    }
    public void setAdministrator(String administrator) 
    {
        this.administrator = administrator;
    }

    public String getAdministrator() 
    {
        return administrator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("electricalEquipmentId", getElectricalEquipmentId())
            .append("tunnelId", getTunnelId())
            .append("maintenanceOrganization", getMaintenanceOrganization())
            .append("electricalEquipmentDate", getElectricalEquipmentDate())
            .append("electricalEquipmentModel", getElectricalEquipmentModel())
            .append("electricalEquipmentYear", getElectricalEquipmentYear())
            .append("electricalEquipmentStyle", getElectricalEquipmentStyle())
            .append("electricalEquipmentName", getElectricalEquipmentName())
            .append("electricalEquipmentPlace", getElectricalEquipmentPlace())
            .append("electricalEquipmentNumber", getElectricalEquipmentNumber())
            .append("administrator", getAdministrator())
            .toString();
    }
}
